import { Routes } from '@angular/router';
import { NotfoundComponent } from './notfound/notfound.component';
import { LayoutComponent } from './layout/layout.component';
import { FirstComponent } from "./layout/first/first.component"
import { TwoComponent } from "./layout/two/two.component"

export const routes: Routes = [
    {
        path: '', component: LayoutComponent,
        children: [
            { path: "", title: "我是第一个表单", component: FirstComponent },
            { path: "two", title: "我是第二个表单", component: TwoComponent },
        ]

    },
    { path: '**', component: NotfoundComponent },
];
